//
//  HGMusicModel.m
//  悦享
//
//  Created by dllo on 16/3/21.
//  Copyright © 2016年 张洪国. All rights reserved.
//

#import "HGMusicModel.h"

@implementation HGMusicModel


- (void)setValue:(id)value forKey:(NSString *)key{
    [super setValue:value forKey:key];
}


///容错方法
- (void)setValue:(id)value forUndefinedKey:(NSString *)key{
    
    if ([key isEqualToString:@"id"]) {
        self.HGid = (NSString *)value;
    }
    
    if ([key isEqualToString:@"data"]) {
        
        self.dataArr = [HGMusicDataModel baseModelHandleWithArr:value];
        }
    
}

@end
